package indi.zhifa.recipe.bailan.framework.enums.entity.po;

import com.baomidou.mybatisplus.annotation.TableName;
import indi.zhifa.recipe.bailan.framework.mysql.entity.po.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * <p>
 * 类型项
 * </p>
 *
 * @author 织法
 * @since 2022-11-29
 */
@Data
@TableName("sys_type")
@Schema(title = "类型项", description = "类型项")
public class SysTypeEntity extends BaseEntity {

    @Schema(title = "类型码")
    protected String code;
    @Schema(title = "中文名")
    protected String name;
    @Schema(title = "描述")
    protected String description;
    @Schema(title = "默认选择",description = "-1表示默认选择非枚举项，可能是诸如全部，默认之类的选项")
    protected Integer defaultIdx;
    @Schema(title = "默认选择项",description = "默认")
    protected String defaultItem;
}
